import request from 'utils/request/request';
import Config from 'utils/api'
import { createTheURL } from 'utils/utils';

export async function PostThirdVerifications(params) {
  return request(createTheURL(Config.THIRD_VERIFICATIONS, 'phone-idttv'), {
    method: 'post',
    body:params,
  },'FORMS_CONFIRM_TYPE');
}
export async function getVerificationCode(params) {
  return request(createTheURL(Config.SMS_CODE, 'sms-code'), {
    method: 'post',
    body:params,
  });
}
